Skip to content

Print report even if the executor crashed #6292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

nicolasstucki
Copy link
Contributor

When an executor crashes the error report is emitted and the exception is printed out.

When an executor crashes the error report is emitted and the exception is printed out.
@anatoliykmetyuk anatoliykmetyuk merged commit 1578b88 into scala:master Apr 11, 2019
@ghost ghost removed the stat:needs review label Apr 11, 2019
@allanrenucci allanrenucci deleted the print-report-even-the-executor-crashed branch April 11, 2019 18:28
try x.get()
catch {
case ex: Exception =>
System.err.println(ex.getMessage)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe ex.PrintStackTrace already prints the message:

scala> new Exception("Hello World").printStackTrace()
java.lang.Exception: Hello World
	at $line5.$read$$iw$$iw$.<init>(<console>:12)
	at $line5.$read$$iw$$iw$.<clinit>(<console>)
	...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants